package com.sidianzhong.sdz.service;

import com.sidianzhong.sdz.model.*;
import com.sidianzhong.sdz.utils.PageInfo;
import com.alibaba.fastjson.JSONObject;
import java.util.List;

/**
* Created by hxgqh on 2016/1/7.
*/
public interface ProblemFeedbackService {

    ProblemFeedback create(ProblemFeedback item);

    int delete(Integer id);

    int update(ProblemFeedback item);

    ProblemFeedback get(Integer id);

    PageInfo<ProblemFeedback> getListWithPaging(Integer pageNum, Integer pageSize,
                                                String sortItem, String sortOrder, ProblemFeedback item);

    List<ProblemFeedback> getList(Integer pageNum, Integer pageSize,
                                  String sortItem, String sortOrder, ProblemFeedback item);

    PageInfo<JSONObject> getListWithObject(Integer pageNum, Integer pageSize,
                                           String sortItem, String sortOrder, ProblemFeedback item);
}
